import {isWechat, wechatReady} from '@/lib/wechat.js'
import Footer from '@/components/Footer'
import Index from '@/pages/Index'
import Detail from '@/pages/Detail'
import Login from '@/pages/Login'
import MyConcern from '@/pages/MyConcern'
import UserProtocol from '@/pages/UserProtocol'
import LargeVipDetail from '@/pages/LargeVipDetail'
import BindingNumber from '@/pages/BindingNumber'
import Comment from '@/pages/Comment'
import FeedBack from '@/pages/FeedBack'
import UserCenter from '@/pages/UserCenter'
import MyCollection from '@/pages/MyCollection'
import ThirdLogin from '@/pages/ThirdLogin'

export default [
  {
    path: '/',
    name: 'Index',
    component: Index,
    meta: {
      page_type:'1',
      keepAlive:true,
      wechatLink: true
    }
  },
  {
    path: '/pages/Detail',
    name: 'Detail',
    component: Detail,
    meta: {
      page_type:'2',
      keepAlive:false
    }
  },
  {
    path: '/pages/Login',
    name: 'Login',
    component: Login,
    meta: {
      keepAlive:true,
      page_type:'8',
      wechatLink: true
    }
  },
  {
    path: '/pages/MyConcern',
    name: 'MyConcern',
    component: MyConcern,
    meta: {
      page_type:'5',
      keepAlive:false,
      wechatLink: true
    }
  },
  {
    path: '/pages/UserProtocol',
    name: 'UserProtocol',
    component: UserProtocol,
    meta: {
      keepAlive:false,
      wechatLink: true
    }
  },
  {
    path: '/pages/LargeVipDetail',
    name: 'LargeVipDetail',
    component: LargeVipDetail,
    meta: {
      page_type:'3',
      keepAlive:false,
      wechatLink: true
    }
  },
  {
    path: '/pages/BindingNumber',
    name: 'BindingNumber',
    component: BindingNumber,
    meta: {
      page_type:'9',
      keepAlive:false,
      wechatLink: true
    }
  },
  {
    path: '/pages/Comment',
    name: 'Comment',
    component: Comment,
    meta: {
      keepAlive:false,
      wechatLink: true
    }
  },
  {
    path: '/pages/FeedBack',
    name: 'FeedBack',
    component: FeedBack,
    meta: {
      page_type:'7',
      keepAlive:false,
      wechatLink: true
    }
  },
  {
    path: '/pages/UserCenter',
    name: 'UserCenter',
    component: UserCenter,
    meta: {
      page_type:'4',
      keepAlive:false,
      wechatLink: true
    }
  },
  {
    path: '/pages/MyCollection',
    name: 'MyCollection',
    component: MyCollection,
    meta: {
      page_type:'6',
      keepAlive:false,
      wechatLink: true
    }
  },
  {
    path: '/pages/ThirdLogin',
    name: 'ThirdLogin',
    component: ThirdLogin,
    meta: {
      keepAlive:false,
      wechatLink: true
    }
  }
]
